import service from '@/utils/request'

export const gsmslide = () => {
  return service({
    url: '/gsm/gsmGetSlide',
    method: 'get'
  })
}

export const gsmDelSlide = (params) => {
  return service({
    url: '/gsm/gsmDeleteSlide',
    method: 'delete',
    params
  })
}

export const gsmSlideDetail = (params) => {
  return service({
    url: '/gsm/gsmGetidSlide',
    method: 'get',
    params
  })
}

export const gsmUpdateSlide = (data) => {
  return service({
    url: '/gsm/gsmUpdateSlide',
    method: 'put',
    data
  })
}

export const gsmCreateSlide = (data) => {
  return service({
    url: '/gsm/gsmCreateSlide',
    method: 'post',
    data
  })
}
